home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / the_independent.swf / scripts / DefineButton2_178 / BUTTONCONDACTION on(release, keyPress Down).as
Text File  |  2011-08-19  |  280b  |  14 lines

  1. on(release, keyPress "<Down>"){
  2.    if(this.window._y + 10 * this.koeficient < -480)
  3.    {
  4.       this.window._y;
  5.    }
  6.    else
  7.    {
  8.       this.window._y -= 10;
  9.       this.scroller._y += 1.5;
  10.       scrollervar = this.scroller._y;
  11.       windowvar = this.window._y;
  12.    }
  13. }
  14.